/**
 * Created by wutianchi on 2015/11/16.
 */
$(document).ready(function(){
    $(".nav-phone-img").hide();
    $(".nav-phone").hover(function(){
        $(".nav-phone-img").fadeToggle();
    });

    $(".erweima-img").hide();
    $(".erweima").hover(function(){
        $(".erweima-img").fadeToggle();
    });

    $(function(){
        $("#aboutUs").addClass('active');
    });

});
function showBg() {
    var bh = $("body").height();
    var bw = $("body").width();
    $("#fullbg").css({
        height:bh,
        width:bw,
        display:"block"
    });
    document.body.style.height="100%";document.body.style.overflow="hidden";
    $("#dialog").show();
}
//关闭灰色 jQuery 遮罩
function closeBg() {
    $("#fullbg,#dialog").hide();
    document.body.style.height="";document.body.style.overflow="";
}
